package so.sao.shop.supplier.pojo.vo;

import so.sao.shop.supplier.domain.ReceiptPurchase;
import so.sao.shop.supplier.domain.external.Coupon;
import so.sao.shop.supplier.util.NumberUtil;

import java.math.BigDecimal;

/**
 * Created by acer on 2017/9/6.
 */
public class AppPurchaseItemVo {

    /**
     * 商品ID
     */
    private String detailsId;

    /**
     * 商品ID
     */
    private String goodsId;
    /**
     * 商品图片
     */
    private String goodsImage;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品单价
     */
    private String goodsUnitPrice;

    /**
     * 商品数量
     */
    private Integer goodsNumber;

    /**
     * 商品总价
     */
    private String goodsTatolPrice;
    /**
     * 商品规格
     */
    private String goodsAttribute;
    /**
     * 订单编号
     */
    private String orderId;
    /**
     * 合并支付编号
     */
    private String payId;
    /**
     *'0.已完成(初始化状态),1.退款/换货申请中,2.审核通过,3.拒绝退款/换货,4.退款/换货中,5.已退款/已换货,6.退货/换货取消',
     */
    private Integer status;
    /**
     * '0.退货退款,1.换货',
     */
    private Integer type;

    /**
     * 发票信息
     */
    private ReceiptPurchase receiptPurchase;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsUnitPrice() {
        return goodsUnitPrice;
    }

    public void setGoodsUnitPrice(String goodsUnitPrice) {
        this.goodsUnitPrice = goodsUnitPrice;
    }

    public Integer getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsTatolPrice() {
        return goodsTatolPrice;
    }

    public void setGoodsTatolPrice(String goodsTatolPrice) {
        this.goodsTatolPrice = goodsTatolPrice;
    }

    public String getGoodsAttribute() {
        return goodsAttribute;
    }

    public void setGoodsAttribute(String goodsAttribute) {
        this.goodsAttribute = goodsAttribute;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public ReceiptPurchase getReceiptPurchase() {
        return receiptPurchase;
    }

    public void setReceiptPurchase(ReceiptPurchase receiptPurchase) {
        this.receiptPurchase = receiptPurchase;
    }

    public String getDetailsId() {
        return detailsId;
    }

    public void setDetailsId(String detailsId) {
        this.detailsId = detailsId;
    }

    @Override
    public String toString() {
        return "AppPurchaseItemVo{" +
                "detailsId='" + detailsId + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsUnitPrice='" + goodsUnitPrice + '\'' +
                ", goodsNumber=" + goodsNumber +
                ", goodsTatolPrice='" + goodsTatolPrice + '\'' +
                ", goodsAttribute='" + goodsAttribute + '\'' +
                ", orderId='" + orderId + '\'' +
                ", payId='" + payId + '\'' +
                ", status=" + status +
                ", type=" + type +
                ", receiptPurchase=" + receiptPurchase +
                '}';
    }
}
